package yf.mall.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yf.mall.entity.KolProductStatEntity;
import yf.mall.entity.KolProductStatEntityExample;

@Mapper
@Repository
public interface KolProductStatExtMapper {
    long countByExample(KolProductStatEntityExample example);

    int deleteByExample(KolProductStatEntityExample example);

    int deleteByPrimaryKey(Long pid);

    int insert(KolProductStatEntity record);

    int insertSelective(KolProductStatEntity record);

    List<KolProductStatEntity> selectByExample(KolProductStatEntityExample example);

    KolProductStatEntity selectByPrimaryKey(Long pid);

    int updateByExampleSelective(@Param("record") KolProductStatEntity record, @Param("example") KolProductStatEntityExample example);

    int updateByExample(@Param("record") KolProductStatEntity record, @Param("example") KolProductStatEntityExample example);

    int updateByPrimaryKeySelective(KolProductStatEntity record);

    int updateByPrimaryKey(KolProductStatEntity record);
}